package com.jddup.common.annotations;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 字段描述
 * Created by ZZB on 2017/12/2.
 */
@Target({ ElementType.FIELD })
@Retention(RetentionPolicy.RUNTIME)
public @interface ColumnDes {
    long scale() default 0;
    long precision() default 0;
    long maxLength() default 0;
    boolean isNullable() default true;
    boolean signed() default true;
    String defaultValue() default "";
    String maximum() default "";
    String comment() default "";
}
